import 'package:get/get_navigation/get_navigation.dart';
import 'package:series_play/pages/account/quick_login_page.dart';
import 'package:series_play/pages/main/main_page.dart';
import 'package:series_play/pages/splash/splash_page.dart';

/// 正常跳转直接 get.to条就行，如果遇到需要页面栈间隔返回等 使用别名路由
class RoutePath {
  RoutePath._();

  // 根
  static const String root = '/';

  // 启动页
  static const String splash = '/splash';
  static const String quickLogin = '/quickLogin';

  // 主页面
  static const String main = '/main';

  /// 别名列表
  static List<GetPage> aliasPages = [
    GetPage(name: splash, page: () => SplashPage()),
    GetPage(name: main, page: () => MainPage()),
    GetPage(name: quickLogin, page: () => QuickLoginPage()),
  ];
}
